<%@ Register TagPrefix="cc1" Namespace="PHSRAG.WebControls" Assembly="PHSRAG.WebControls" %>
<%@ Register TagPrefix="cc2" Namespace="PHSRAG.Insight21.InsightWebControls" Assembly="PHSRAG.Insight21.InsightWebControls" %>

<%@ Page Language="c#" Inherits="PHSRAG.Insight21.LaborDistribution" CodeFile="LaborDistribution.aspx.cs" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Labor Distribution</title>
    <link href="../Insight21.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form method="post" id="LaborDistributionForm" runat="server">
        <table class="Container" width="100%">
            <tr>
                <td>
                    <table class="Header" width="100%">
                        <tr>
                            <td>
                                <cc2:Header ID="insightHeader" runat="server"></cc2:Header>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:AgreementsSubNavigation ID="agreementsSubNavigation" EnableOverviewNavigation="true"
                                    runat="server"></cc2:AgreementsSubNavigation>
                                <cc2:PersonnelSubNavigation ID="personnelSubNavigation" runat="server"></cc2:PersonnelSubNavigation>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:AgreementDetailsSubNavigation ID="agreementDetailsSubNavigation" runat="server">
                                </cc2:AgreementDetailsSubNavigation>
                            </td>
                        </tr>
                        <tr style="width:100%;background-color:white">
                            <td>
                                <table>
                                    <tr>
                                        <td>
                                            <cc1:BreadCrumb ID="breadCrumb" runat="server" />
                                        </td>
                                        <td>
                                            (Details Unavailable prior to 2/7/2002.)</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table width="100%" cellpadding="10" cellspacing="10" style="background-color:#ffffff">
                        <tr>
                            <td>
                                <cc2:SearchCriteriaDisplay ID="searchCriteriaDisplay" runat="server" />
                            </td>
                        </tr>
                    </table>
                    <table cellspacing="10" class="Invisible" id="dynamicTable">
                        <tr>
                            <td>
                                <cc1:ActivityIndicator ID="activityIndicator" ContainerID="dynamicTable" runat="server">
                                </cc1:ActivityIndicator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc1:Annunciator ID="annunciator" ContainerID="dynamicTable" runat="server"></cc1:Annunciator>
                            </td>
                        </tr>
                    </table>
                    <table class="PlaceBar">
                        <tr>
                            <td class="PageName">
                                Labor Distribution</td>
                            <td align="center">
                                <cc2:RefreshDates ID="refreshDates" runat="server" Visible="True" GLAsOfDateVisible="False"
                                    POAPAsOfDateVisible="False" SalaryAsOfDateVisible="True" />
                            </td>
                            <td align="right">
                                <cc2:InsightDownloadBar ID="reportDownload" useRootHost="true" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
                    <table width="100%" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <cc1:Pager ID="pagerAboveDatagrid" runat="server"></cc1:Pager>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:DataGrid ID="laborDistributionGrid" runat="server" CssClass="DataGrid" AllowSorting="True"
                                    AllowCustomPaging="True" AutoGenerateColumns="False" Width="100%" ShowFooter="True">
                                    <AlternatingItemStyle CssClass="DataGridAlternatingItem" />
                                    <ItemStyle CssClass="DataGridItem" />
                                    <HeaderStyle CssClass="DataGridHeader" />
                                    <FooterStyle CssClass="DataGridFooter"></FooterStyle>
                                    <PagerStyle Visible="False" />
                                    <Columns>
                                        <asp:BoundColumn DataField="EmployeeName" SortExpression="EmployeeName" ReadOnly="True"
                                            HeaderText="Name"></asp:BoundColumn>
                                        <asp:BoundColumn DataField="FundNumber" SortExpression="FundNumber" ReadOnly="True"
                                            HeaderText="Fund #"></asp:BoundColumn>
                                        <asp:BoundColumn DataField="EarningsCode" SortExpression="EarningsCode" ReadOnly="True"
                                            HeaderText="Earnings Code"></asp:BoundColumn>
                                        <asp:BoundColumn DataField="JobCode" SortExpression="JobCode" ReadOnly="True" HeaderText="Job Code">
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="PayDate" SortExpression="PayDate" ReadOnly="True" HeaderText="Pay Date">
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="RetroAdjustmentDate" SortExpression="RetroPayAdjustmentDate"
                                            ReadOnly="True" HeaderText="Retro-Adjustment Date"></asp:BoundColumn>
                                        <asp:BoundColumn DataField="PayAmount" SortExpression="PayAmount" ReadOnly="True"
                                            HeaderText="Pay Amount">
                                            <ItemStyle HorizontalAlign="Right"></ItemStyle>
                                            <FooterStyle HorizontalAlign="Right"></FooterStyle>
                                        </asp:BoundColumn>
                                    </Columns>
                                </asp:DataGrid>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc1:Pager ID="pagerBelowDatagrid" runat="server"></cc1:Pager>
                            </td>
                        </tr>
                    </table>
			
        </td></tr></table>
    </form>
</body>
</html>
